#!/usr/bin/env python
import os
import signal
# Change this to your process name
processname = 'long'
pids= os.popen("ps -ef | grep %s |grep -v grep | awk '{print $2}'" % (processname))
pids=pids.read();
if(pids ==""):
	print("111111111111")
else:
	print("pids:"+pids)
